package com.mapperdb.scripting.xmltags;

import org.apache.ibatis.annotations.Result;
import org.apache.ibatis.scripting.xmltags.DynamicContext;
import org.apache.ibatis.scripting.xmltags.IfSqlNode;

public class NotNullSqlNode extends IfSqlNode {
	protected Result column;

	public NotNullSqlNode(Result column) {
		super(null, column.property() + " != null");
		this.column = column;
	}

	@Override
	public boolean apply(DynamicContext context) {
		return false;
	}
}
